<?php

require_once 'FW/MySQL.php';

class Descriptives {

	private $dbconn;
	private $userid;
	
	public function Descriptives($dbconn) {
		$this->dbconn = $dbconn;
		
	}
	
	
	public function getDescriptives($userid) {
		$this->userid = $userid;
		$query = "SELECT * FROM descriptives WHERE userid='".$this->userid."';";
		$result = mysql_query($query, $this->dbconn);
		return mysql_fetch_assoc($result);
	}
	
	
}